package com.rds.system.service;

import com.rds.system.common.IService;
import com.rds.system.domain.RdaDownload;
import com.rds.system.domain.RdaDownloadDetail;

import java.util.List;


public interface IRdaDownloadService extends IService<RdaDownload> {
    /**新增返回int**/
    int insertDownload(RdaDownload rdaDownload) throws Exception;
    /**批量删除*/
    int deleteByIds(Long[] ids) throws Exception;
    /**获取多个记录的对象**/
    List<RdaDownload> findRdaDownloadsByIds(Long[] ids) throws Exception;

    /*根据下载记录Id 获取下载明细记录表信息**/
    List<RdaDownloadDetail> findRdaDownloadDetailsById(Long downloadId);
    /**新增下载记录明细记录**/
    int insertDownloadDetail(RdaDownloadDetail rdaDownloadDetail);
}
